* {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(200deg, #e3c5eb, #a9c1ed);
    overflow: hidden;
}


/* 登录注册切换部分 */

.control {
    width: 340px;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}

.item {
    width: 340px;
    height: 60px;
    display: flex;
    /*.item div转换为行内块元素会产生间隙*/
    background: #eeeeee;
}

.item div {
    width: 170px;
    height: 60px;
    display: inline-block;
    color: black;
    font-size: 18px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    transition: 0.3s;
}

.item div:hover {
    /* background: #f6f6f6; */
    background: linear-gradient(-200deg, #aac2ee, #fac0e7);
    background-position-x: -170px;
    color: #327ACD;
}


/* 用户信息收集部分 */

.content {
    width: 100%;
}

.content div {
    margin: 20px 30px;
    display: none;
    text-align: left;
}

p {
    color: #333333;
    margin-top: 30px;
    /*修改*/
    margin-bottom: 6px;
    /*修改*/
    font-size: 15px;
}

.message {
    width: 280px;
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 6px;
    color: #ccc;
}

.content input[type="text"],
.content input[type="password"] {
    width: 100%;
    height: 35px;
    border-radius: 5px;
    /* font-size: 12px; */
    border: 1px solid #adadad;
    box-sizing: border-box;
    padding-left: 5px;
}

.content input[type="button"] {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    color: white;
    border: 1px solid #adadad;
    background: linear-gradient(-200deg, #fac0e7, #aac2ee);
    cursor: pointer;
    letter-spacing: 4px;
    margin-top: 40px;
    margin-bottom: 40px;
    transition: 0.5s;
}

.content input[type="submit"]:hover {
    /* background: #327ACD; */
    background: linear-gradient(-200deg, #aac2ee, #fac0e7);
    background-position-x: -280px;
}

.active {
    background-color: white;
}


/* 背景部分 */

ul li {
    position: absolute;
    border: 1px solid #fff;
    background-color: #fff;
    width: 30px;
    height: 30px;
    list-style: none;
    opacity: 0;
}

.square li {
    top: 88vh;
    left: 65vw;
    /* 执行动画：动画名 时长 线性的 无限次播放 */
    animation: square 5s linear infinite;
}

.square li:nth-child(2) {
    top: 80vh;
    left: 10vw;
    /* 设置动画延迟时间 */
    animation-delay: 2s;
}

.square li:nth-child(3) {
    top: 80vh;
    left: 85vw;
    animation-delay: 4s;
}

.square li:nth-child(4) {
    top: 10vh;
    left: 70vw;
    animation-delay: 6s;
}

.square li:nth-child(5) {
    top: 10vh;
    left: 10vw;
    animation-delay: 8s;
}

.circle li {
    bottom: 0;
    left: 15vw;
    animation: circle 5s linear infinite;
}

.circle li:nth-child(2) {
    left: 22vw;
    animation-delay: 2s;
}

.circle li:nth-child(3) {
    left: 17vw;
    animation-delay: 6s;
}

.circle li:nth-child(4) {
    left: 75vw;
    animation-delay: 4s;
}

.circle li:nth-child(5) {
    left: 90vw;
    animation-delay: 8s;
}


/* 定义动画 */

@keyframes square {
    0% {
        transform: scale(0) rotateY(0deg);
        /* 透明度 */
        opacity: 1;
    }
    100% {
        transform: scale(5) rotateY(1000deg);
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        transform: scale(0) rotateY(0deg);
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
    100% {
        transform: scale(5) rotateY(1000deg);
        opacity: 0;
        bottom: 90vh;
        border-radius: 50%;
    }
}